package cn.gxa.j229.bug.finance.service.loanuser;

/*
 *
 *@author leijun
 *
 *@creating 2020/9/22 14:53
 *
 */

import cn.gxa.j229.bug.finance.pojo.InvestmentUser;

import java.util.List;
import java.util.Map;

public interface InvestmentUserService {
    /**
     * 全查询的分页查询
     * @param page
     * @param limit
     * @return List列表
     */
    List<Map<String,String>> findAllByPage(InvestmentUser investmentUser);

    /**
     *
     * @param investmentUser
     * @return
     */
    List<Map<String,String>> findByName(InvestmentUser investmentUser);

    /**
     *
     * @param investmentUser
     * @return
     */
    int updateByPrimaryKeySelective(InvestmentUser investmentUser);

    /**
     * 按id全查询
     * @param id
     * @return
     */
    List<Map<String,String>> selectByPrimaryKey(Integer id);

    /**
     * 添加用户
     * @param record
     * @return
     */
    int insertSelective(InvestmentUser investmentUser);

    /**
     *
     * 统计全部分页条数
     * @return
     */
    int countByPage();

    /**
     * 统计条件分页条数
     * @return
     */
    int countByName(InvestmentUser investmentUser);
}
